<?php 
echo $this->Form->create('User', array('action'=> 'register'));
echo $this->Form->input('user_name', array('label'=>__('User Name')));   //text
echo $this->Form->input('email');
echo $this->Form->input('password');   //password
echo $this->Form->hidden('is_active', array('secure'=>true, 'value'=>true));
echo $this->Form->submit('Register');
echo $this->Html->link(__('Already has account?'), 'login');
echo $this->Form->end();
?>